package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberMapper {

    void insert(Member member);

    void deleteById(Long id);

    void update(Member member);

    Member selectById(Long id);

    @Select("select * from member where open_id = #{openid}")
    Member selectByOpenId(String openid);
}